package com.zh.yqbj.exception.accountExcption;

import com.zh.yqbj.constant.ExceptionCodeConstant;


public class ErrorUsernamePatternException extends Exception{
    private static final String MSG = "账号格式错误,";
    /**
     * 账号格式错误
     */
    public ErrorUsernamePatternException() {
        super(MSG + ExceptionCodeConstant.USERNAME_PATTERN_ERROR_CODE);
    }

    public ErrorUsernamePatternException(String msg) {
        super(msg + ExceptionCodeConstant.USERNAME_PATTERN_ERROR_CODE);
    }
}
